CC=g++
CFLAGS=

fap: algorithm.o algorithm_annealing.o algorithm_genetic.o algorithm_permutation.o algorithm_sequential.o algorithm_tabu.o area.o area_cell.o area_coords.o area_philadelphia.o base.o call_list.o history.o main.o options.o options_annealing.o options_coords.o options_genetic.o options_philadelphia.o options_sequential.o options_tabu.o test_manager.o ticpp/ticpp.o timer.o ticpp/tinystr.o ticpp/tinyxml.o ticpp/tinyxmlerror.o ticpp/tinyxmlparser.o
	$(CC) $(CFLAGS) -o fap algorithm.o algorithm_annealing.o algorithm_genetic.o algorithm_permutation.o algorithm_sequential.o algorithm_tabu.o area.o area_cell.o area_coords.o area_philadelphia.o base.o call_list.o history.o main.o options.o options_annealing.o options_coords.o options_genetic.o options_philadelphia.o options_sequential.o options_tabu.o test_manager.o ticpp/ticpp.o timer.o ticpp/tinystr.o ticpp/tinyxml.o ticpp/tinyxmlerror.o ticpp/tinyxmlparser.o   
algorithm.o: algorithm.cpp algorithm.h area.h area_cell.h options.h \
  base.h ticpp/ticpp.h ticpp/tinyxml.h ticpp/ticpprc.h timer.h
	$(CC) $(CFLAGS) -c algorithm.cpp
algorithm_annealing.o: algorithm_annealing.cpp algorithm_annealing.h \
  algorithm.h area.h area_cell.h options.h base.h ticpp/ticpp.h \
  ticpp/tinyxml.h ticpp/ticpprc.h timer.h options_annealing.h \
  algorithm_sequential.h options_sequential.h call_list.h test_manager.h \
  options_coords.h options_philadelphia.h options_genetic.h \
  options_tabu.h algorithm_genetic.h algorithm_permutation.h \
  algorithm_tabu.h area_coords.h area_philadelphia.h history.h
	$(CC) $(CFLAGS) -c algorithm_annealing.cpp
algorithm_genetic.o: algorithm_genetic.cpp algorithm_genetic.h \
  algorithm.h area.h area_cell.h options.h base.h ticpp/ticpp.h \
  ticpp/tinyxml.h ticpp/ticpprc.h timer.h options_genetic.h
	$(CC) $(CFLAGS) -c algorithm_genetic.cpp
algorithm_permutation.o: algorithm_permutation.cpp \
  algorithm_permutation.h algorithm.h area.h area_cell.h options.h base.h \
  ticpp/ticpp.h ticpp/tinyxml.h ticpp/ticpprc.h timer.h options_genetic.h \
  call_list.h
	$(CC) $(CFLAGS) -c algorithm_permutation.cpp
algorithm_sequential.o: algorithm_sequential.cpp algorithm_sequential.h \
  algorithm.h area.h area_cell.h options.h base.h ticpp/ticpp.h \
  ticpp/tinyxml.h ticpp/ticpprc.h timer.h options_sequential.h \
  call_list.h
	$(CC) $(CFLAGS) -c algorithm_sequential.cpp
algorithm_tabu.o: algorithm_tabu.cpp algorithm_tabu.h algorithm.h area.h \
  area_cell.h options.h base.h ticpp/ticpp.h ticpp/tinyxml.h \
  ticpp/ticpprc.h timer.h options_tabu.h test_manager.h options_coords.h \
  options_philadelphia.h options_genetic.h options_sequential.h \
  options_annealing.h algorithm_genetic.h algorithm_permutation.h \
  call_list.h algorithm_sequential.h algorithm_annealing.h area_coords.h \
  area_philadelphia.h history.h
	$(CC) $(CFLAGS) -c algorithm_tabu.cpp
area.o: area.cpp area.h area_cell.h options.h base.h ticpp/ticpp.h \
  ticpp/tinyxml.h ticpp/ticpprc.h
	$(CC) $(CFLAGS) -c area.cpp
area_cell.o: area_cell.cpp area_cell.h
	$(CC) $(CFLAGS) -c area_cell.cpp
area_coords.o: area_coords.cpp area_coords.h base.h area.h area_cell.h \
  options.h ticpp/ticpp.h ticpp/tinyxml.h ticpp/ticpprc.h \
  options_coords.h
	$(CC) $(CFLAGS) -c area_coords.cpp
area_philadelphia.o: area_philadelphia.cpp area_philadelphia.h base.h \
  area.h area_cell.h options.h ticpp/ticpp.h ticpp/tinyxml.h \
  ticpp/ticpprc.h options_philadelphia.h
	$(CC) $(CFLAGS) -c area_philadelphia.cpp
base.o: base.cpp base.h
	$(CC) $(CFLAGS) -c base.cpp
call_list.o: call_list.cpp call_list.h area.h area_cell.h options.h \
  base.h ticpp/ticpp.h ticpp/tinyxml.h ticpp/ticpprc.h
	$(CC) $(CFLAGS) -c call_list.cpp
history.o: history.cpp history.h base.h timer.h
	$(CC) $(CFLAGS) -c history.cpp
main.o: main.cpp test_manager.h base.h options.h ticpp/ticpp.h \
  ticpp/tinyxml.h ticpp/ticpprc.h options_coords.h options_philadelphia.h \
  options_genetic.h options_sequential.h options_annealing.h \
  options_tabu.h algorithm.h area.h area_cell.h timer.h \
  algorithm_genetic.h algorithm_permutation.h call_list.h \
  algorithm_sequential.h algorithm_annealing.h algorithm_tabu.h \
  area_coords.h area_philadelphia.h history.h
	$(CC) $(CFLAGS) -c main.cpp
options.o: options.cpp options.h base.h ticpp/ticpp.h ticpp/tinyxml.h \
  ticpp/ticpprc.h
	$(CC) $(CFLAGS) -c options.cpp
options_annealing.o: options_annealing.cpp options_annealing.h base.h \
  options.h ticpp/ticpp.h ticpp/tinyxml.h ticpp/ticpprc.h
	$(CC) $(CFLAGS) -c options_annealing.cpp
options_coords.o: options_coords.cpp options_coords.h base.h options.h \
  ticpp/ticpp.h ticpp/tinyxml.h ticpp/ticpprc.h
	$(CC) $(CFLAGS) -c options_coords.cpp
options_genetic.o: options_genetic.cpp options_genetic.h base.h options.h \
  ticpp/ticpp.h ticpp/tinyxml.h ticpp/ticpprc.h
	$(CC) $(CFLAGS) -c options_genetic.cpp
options_philadelphia.o: options_philadelphia.cpp options_philadelphia.h \
  base.h options.h ticpp/ticpp.h ticpp/tinyxml.h ticpp/ticpprc.h
	$(CC) $(CFLAGS) -c options_philadelphia.cpp
options_sequential.o: options_sequential.cpp options_sequential.h base.h \
  options.h ticpp/ticpp.h ticpp/tinyxml.h ticpp/ticpprc.h
	$(CC) $(CFLAGS) -c options_sequential.cpp
options_tabu.o: options_tabu.cpp options_tabu.h base.h options.h \
  ticpp/ticpp.h ticpp/tinyxml.h ticpp/ticpprc.h
	$(CC) $(CFLAGS) -c options_tabu.cpp
test_manager.o: test_manager.cpp test_manager.h base.h options.h \
  ticpp/ticpp.h ticpp/tinyxml.h ticpp/ticpprc.h options_coords.h \
  options_philadelphia.h options_genetic.h options_sequential.h \
  options_annealing.h options_tabu.h algorithm.h area.h area_cell.h \
  timer.h algorithm_genetic.h algorithm_permutation.h call_list.h \
  algorithm_sequential.h algorithm_annealing.h algorithm_tabu.h \
  area_coords.h area_philadelphia.h history.h
	$(CC) $(CFLAGS) -c test_manager.cpp
ticpp/ticpp.o: ticpp/ticpp.cpp ticpp/ticpp.h ticpp/tinyxml.h \
  ticpp/ticpprc.h
	$(CC) $(CFLAGS) -c ticpp/ticpp.cpp -o ticpp/ticpp.o
timer.o: timer.cpp timer.h
	$(CC) $(CFLAGS) -c timer.cpp
ticpp/tinystr.o: ticpp/tinystr.cpp ticpp/tinystr.h
	$(CC) $(CFLAGS) -c ticpp/tinystr.cpp -o ticpp/tinystr.o
ticpp/tinyxml.o: ticpp/tinyxml.cpp ticpp/tinyxml.h ticpp/ticpprc.h
	$(CC) $(CFLAGS) -c ticpp/tinyxml.cpp -o ticpp/tinyxml.o
ticpp/tinyxmlerror.o: ticpp/tinyxmlerror.cpp ticpp/tinyxml.h \
  ticpp/ticpprc.h
	$(CC) $(CFLAGS) -c ticpp/tinyxmlerror.cpp -o ticpp/tinyxmlerror.o
ticpp/tinyxmlparser.o: ticpp/tinyxmlparser.cpp ticpp/tinyxml.h \
  ticpp/ticpprc.h
	$(CC) $(CFLAGS) -c ticpp/tinyxmlparser.cpp -o ticpp/tinyxmlparser.o

clean:
	rm fap *.o ticpp/*.o
